<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>基本数据网格 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Basic DataGrid">基本数据网格</h2>
	<p title="The DataGrid is created from markup, no JavaScript code needed.">　　数据网格由标记创建，不需 JavaScript 代码。</p>
	<div style="margin:20px 0;"></div>
	
	<table class="easyui-datagrid" title="<c>基本</c>" style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true,url:'datagrid_data1.json',method:'get'">
		<thead>
			<tr>
				<th data-options="field:'itemid'"><h title='Item ID'>物料编码</h></th>
				<th data-options="field:'productid'"><h title='Product ID'>产品编码</h></th>
				<th data-options="field:'productname'"><h title='Product Name'>产品名称</h></th>
				<th data-options="field:'listprice'"><h title='List Price'>清单价格</h></th>
				<th data-options="field:'unitcost'"><h title='Unit Cost'>成本单价</h></th>
				<th data-options="field:'attr1'"><h title='Attribute'>物料属性</h></th>
				<th data-options="field:'status'"><h title='Status'>状态</h></th>
			</tr>
		</thead>
	</table>

</body>
</html>